package bamboo.design_pattern.chap3.book.carTest2;

/**
 * @Author: fulw
 * @Date: 2021/8/23 11:23
 */
public class Client {
    public static void main(String[] args) {
        Driver zhangSan = new Driver();
        Benz benz = new Benz();
        zhangSan.drive(benz);
        BMW bmw = new BMW();
        zhangSan.drive(bmw);
    }
}
